﻿<phone:PhoneApplicationPage
    x:Class="OnlineMovies.Views.AddMatchScore"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"
    xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
      xmlns:toolkit="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone.Controls.Toolkit"
    FontFamily="{StaticResource PhoneFontFamilyNormal}"
    FontSize="{StaticResource PhoneFontSizeNormal}"
    Foreground="{StaticResource PhoneForegroundBrush}"
    SupportedOrientations="Portrait" Orientation="Portrait"
    mc:Ignorable="d"
    shell:SystemTray.IsVisible="False">

    <phone:PhoneApplicationPage.Resources>
        <DataTemplate  x:Key="tblkcat">
            <TextBlock Foreground="White"  FontSize="28" LineHeight="60" TextWrapping="Wrap" FontFamily="Calibri" FontWeight="Normal" Text="{Binding}" Loaded="TextBlock_Loaded_1"></TextBlock>
        </DataTemplate>
    </phone:PhoneApplicationPage.Resources>
    <Grid x:Name="LayoutRoot" Background="{StaticResource bipivot}">
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="*"/>
        </Grid.RowDefinitions>


        <StackPanel x:Name="TitlePanel" Grid.Row="0" Margin="12,17,0,28">
           <!--<TextBlock Text="MY APPLICATION" Style="{StaticResource PhoneTextNormalStyle}" Margin="12,0"/>-->
            <TextBlock Text="Add Scoreboard" Margin="9,-7,0,0" FontSize="32"/>
        </StackPanel>

        <!--ContentPanel - place additional content here-->
        <Grid x:Name="ContentPanel" Grid.Row="1" Margin="12,0,12,0">
            <Button Height="100" x:Name="getdatabtn" VerticalAlignment="Bottom" Width="200" Content="Get Score" Click="Button_Click_1"></Button>
            <StackPanel>
                <toolkit:ListPicker x:Name="CategoryList"   FullModeItemTemplate="{StaticResource tblkcat}"  FullModeHeader="Choose Category" ></toolkit:ListPicker>
                <toolkit:ListPicker x:Name="TypeList" FullModeItemTemplate="{StaticResource tblkcat}" SelectionChanged="TypeList_SelectionChanged_1"></toolkit:ListPicker>
                <toolkit:ListPicker x:Name="MatchsList" FullModeItemTemplate="{StaticResource tblkcat}" SelectionChanged="MatchsList_SelectionChanged_1"></toolkit:ListPicker>
                <toolkit:ListPicker x:Name="NameList" FullModeItemTemplate="{StaticResource tblkcat}" SelectionChanged="NameList_SelectionChanged_1"></toolkit:ListPicker>
            </StackPanel>
        </Grid>

        <!--Uncomment to see an alignment grid to help ensure your controls are
            aligned on common boundaries.  The image has a top margin of -32px to
            account for the System Tray. Set this to 0 (or remove the margin altogether)
            if the System Tray is hidden.

            Before shipping remove this XAML and the image itself.-->
        <!--<Image Source="/Assets/AlignmentGrid.png" VerticalAlignment="Top" Height="800" Width="480" Margin="0,-32,0,0" Grid.Row="0" Grid.RowSpan="2" IsHitTestVisible="False" />-->
    </Grid>

</phone:PhoneApplicationPage>